<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Project</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> Project</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Class Project.php</p>
<p class="description"><p>Class responsible for creating / maintaining projects</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jose Oliveira &lt;<a href="mailto:jafo@ua.pt">jafo@ua.pt</a>&gt; 2012</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_serverResources---includes---classes---Project.php.html">/serverResources/includes/classes/Project.php</a> (line <span class="field">11</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																																																																																																																								<div class="method-definition">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result">Project</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$title</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$shortTitle</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$scope</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$questionProblem</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$summary</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$text</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$title,</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$shortTitle,</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$scope,</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$questionProblem,</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$summary,</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$text,</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#createProject" title="details" class="method-name">createProject</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#deleteAllProjectsOfUser" title="details" class="method-name">deleteAllProjectsOfUser</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$userID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#deleteAudio" title="details" class="method-name">deleteAudio</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$audio_name</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$path</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#deleteDOC" title="details" class="method-name">deleteDOC</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$doc_name</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$path</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#deletePDF" title="details" class="method-name">deletePDF</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$pdf_name</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$path</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">boolean</span>
										<a href="#deletePicture" title="details" class="method-name">deletePicture</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$image_name</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$path</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#deleteProject" title="details" class="method-name">deleteProject</a>
											(<span class="var-type">unknown_type</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#deleteVideo" title="details" class="method-name">deleteVideo</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$videoURL</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#deleteZIP" title="details" class="method-name">deleteZIP</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$zip_name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$path</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#getProjectID" title="details" class="method-name">getProjectID</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$userID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">array</span>
										<a href="#getProjectInfo" title="details" class="method-name">getProjectInfo</a>
											(<span class="var-type">unknown_type</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">array</span>
										<a href="#getProjectsByUser" title="details" class="method-name">getProjectsByUser</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$userID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#showAudio" title="details" class="method-name">showAudio</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#showDoc" title="details" class="method-name">showDoc</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#showImages" title="details" class="method-name">showImages</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#showPDF" title="details" class="method-name">showPDF</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#showVideo" title="details" class="method-name">showVideo</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">array</span>
										<a href="#showZIP" title="details" class="method-name">showZIP</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">boolean</span>
										<a href="#storeAudio" title="details" class="method-name">storeAudio</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$audioName</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$description</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$size</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#storeDoc" title="details" class="method-name">storeDoc</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$docName</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$size</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$description</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#storePDF" title="details" class="method-name">storePDF</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$pdfName</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$size</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$description</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#storePicture" title="details" class="method-name">storePicture</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$image_name</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$size</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$description</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#storeVideo" title="details" class="method-name">storeVideo</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$link</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$description</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#storeZIP" title="details" class="method-name">storeZIP</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$zipName</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$size</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$description</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#updateLastViewDate" title="details" class="method-name">updateLastViewDate</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">bool</span>
										<a href="#upDateProjectInfo" title="details" class="method-name">upDateProjectInfo</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
											</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
													<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">32</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">Project</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$title</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$shortTitle</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$scope</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$questionProblem</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$summary</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$text</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$title,</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$shortTitle,</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$scope,</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$questionProblem,</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$summary,</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$text,</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title,</span><span class="var-description">: title of the project</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$shortTitle,</span><span class="var-description">: short title of the project</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$scope,</span><span class="var-description">: study area of the project</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$questionProblem,</span><span class="var-description">: question problem of the project</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$summary,</span><span class="var-description">: summary of the project</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$text,</span><span class="var-description">: extra info of the project</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$title</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$shortTitle</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$scope</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$questionProblem</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$summary</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$text</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcreateProject" id="createProject"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">createProject</span> (line <span class="line-number">52</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Stores the data of the new project in the database</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			createProject
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methoddeleteAllProjectsOfUser" id="deleteAllProjectsOfUser"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">deleteAllProjectsOfUser</span> (line <span class="line-number">1050</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method used to delete all projects of an user.</p>
<p class="description"><p>It's usefull when a user wants to delete his account</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			deleteAllProjectsOfUser
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$userID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$userID</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddeleteAudio" id="deleteAudio"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">deleteAudio</span> (line <span class="line-number">724</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method used to delete audio files of a project from the server</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			deleteAudio
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$audio_name</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$path</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$audio_name</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$path</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddeleteDOC" id="deleteDOC"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">deleteDOC</span> (line <span class="line-number">861</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method used to delete doc files of a project from the server</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			deleteDOC
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$doc_name</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$path</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$doc_name</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$path</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddeletePDF" id="deletePDF"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">deletePDF</span> (line <span class="line-number">826</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method used to delete PDF files of a project from the server</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			deletePDF
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$pdf_name</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$path</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$pdf_name</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$path</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddeletePicture" id="deletePicture"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">deletePicture</span> (line <span class="line-number">687</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method used to delete images of a project from the server</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			deletePicture
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$image_name</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$path</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$image_name</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$path</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddeleteProject" id="deleteProject"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">deleteProject</span> (line <span class="line-number">1005</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method used to delete a project</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			deleteProject
		</span>
					(<span class="var-type">unknown_type</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">unknown_type</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddeleteVideo" id="deleteVideo"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">deleteVideo</span> (line <span class="line-number">760</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method used to delete video references of a project from the database</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			deleteVideo
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$videoURL</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$videoURL</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddeleteZIP" id="deleteZIP"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">deleteZIP</span> (line <span class="line-number">789</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method used to delete zip files of a project from the server</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			deleteZIP
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$zip_name</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$path</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$zip_name</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$path</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetProjectID" id="getProjectID"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getProjectID</span> (line <span class="line-number">948</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that returns a projectID</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getProjectID
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$userID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$userID</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetProjectInfo" id="getProjectInfo"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getProjectInfo</span> (line <span class="line-number">147</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that returns the data that the project administrator set</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			getProjectInfo
		</span>
					(<span class="var-type">unknown_type</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">unknown_type</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetProjectsByUser" id="getProjectsByUser"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getProjectsByUser</span> (line <span class="line-number">917</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that returns all the projects created by a certain user</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			getProjectsByUser
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$userID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$userID</span>			</li>
				</ul>
		
			
	</div>
<a name="methodshowAudio" id="showAudio"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">showAudio</span> (line <span class="line-number">643</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that returns the location and info of all audio files of a certain project</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			showAudio
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methodshowDoc" id="showDoc"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">showDoc</span> (line <span class="line-number">432</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that returns the location and info of all doc files of a certain project</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			showDoc
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methodshowImages" id="showImages"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">showImages</span> (line <span class="line-number">550</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that returns the location and info of all image files of a certain project</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			showImages
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methodshowPDF" id="showPDF"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">showPDF</span> (line <span class="line-number">510</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that returns the location and info of all PDF files of a certain project</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			showPDF
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methodshowVideo" id="showVideo"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">showVideo</span> (line <span class="line-number">595</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that returns the url and info of all videos of a certain project</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			showVideo
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methodshowZIP" id="showZIP"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">showZIP</span> (line <span class="line-number">355</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that returns the location and info of all zip files of a certain project</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			showZIP
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methodstoreAudio" id="storeAudio"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">storeAudio</span> (line <span class="line-number">271</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that process the upload of audio files</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			storeAudio
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$audioName</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$description</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$size</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$audioName</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$description</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$size</span>			</li>
				</ul>
		
			
	</div>
<a name="methodstoreDoc" id="storeDoc"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">storeDoc</span> (line <span class="line-number">395</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that process the upload of .doc, .docx or .odt files</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			storeDoc
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$docName</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$size</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$description</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$docName</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$size</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$description</span>			</li>
				</ul>
		
			
	</div>
<a name="methodstorePDF" id="storePDF"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">storePDF</span> (line <span class="line-number">471</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that process the upload of PDF files</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			storePDF
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$pdfName</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$size</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$description</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$pdfName</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$size</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$description</span>			</li>
				</ul>
		
			
	</div>
<a name="methodstorePicture" id="storePicture"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">storePicture</span> (line <span class="line-number">179</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method used to upload images to a project</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			storePicture
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$image_name</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$size</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$description</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$image_name</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$size</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$description</span>			</li>
				</ul>
		
			
	</div>
<a name="methodstoreVideo" id="storeVideo"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">storeVideo</span> (line <span class="line-number">227</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			storeVideo
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$link</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$description</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$link</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$description</span>			</li>
				</ul>
		
			
	</div>
<a name="methodstoreZIP" id="storeZIP"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">storeZIP</span> (line <span class="line-number">314</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method that process the upload of zip files</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			storeZIP
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$zipName</span>, <span class="var-type">integer</span>&nbsp;<span class="var-name">$size</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$title</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$description</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$zipName</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$size</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$title</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$description</span>			</li>
				</ul>
		
			
	</div>
<a name="methodupdateLastViewDate" id="updateLastViewDate"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">updateLastViewDate</span> (line <span class="line-number">976</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method used to update the last view date of a certain project</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			updateLastViewDate
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methodupDateProjectInfo" id="upDateProjectInfo"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">upDateProjectInfo</span> (line <span class="line-number">112</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Method used to update data from a project</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Exception</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			upDateProjectInfo
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Fri, 22 Feb 2013 05:33:59 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>